import Vue from 'vue'
import Router from 'vue-router'

export const publicRoute = []
export const protectedRoute = [
  {
    path: '/',
    name: 'Home',
    redirect: '/login',
    component: (resolve) => {
      return require(['../views/Home.vue'], resolve)
    },
    children: [{
      path: '/login',
      name: 'login',
      component: (resolve) => {
        return require(['../views/login/login.vue'], resolve)
      },
      children: [],
    }, {
      path: '/mainMenu',
      name: 'mainMenu',
      component: (resolve) => {
        return require(['../views/mainMenu/mainMenu.vue'], resolve)
      },
      children: [],
    },
    {
      path: '/commonAccount',
      name: 'CommonAccount',
      component: (resolve) => {
        return require(['../views/mainMenu/CommonAccount.vue'], resolve)
      },
      children: [],
    },

    {
      path: '/test',
      name: 'Test',
      component: (resolve) => {
        return require(['../views/Test.vue'], resolve)
      },
    },
    {
      path: '/test1',
      name: 'Test1',
      component: (resolve) => {
        return require(["../components/mapShow/LeafLet.vue"], resolve)
      },
    },
    ],
  },
  //质量管理交底
  {
    path: '/meeting',//专项会议
    name: 'meeting',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/meeting/meeting'], resolve)
    },
  },
  {
    path: '/numberTemplate',//数字样板查询
    name: 'numberTemplate',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/numberTemplate/numberTemplate'], resolve)
    },
  },
  {
    path: '/goodPractice',//优秀做法展示
    name: 'goodPractice',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/goodPractice/goodPractice'], resolve)
    },
  },
  {
    path: '/caseSharing',//典型案例共享
    name: 'caseSharing',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/caseSharing/caseSharing'], resolve)
    },
  },
  {
    path: '/qualityPlanning',//质量项目策划
    name: 'qualityPlanning',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/qualityPlanning/qualityPlanning'], resolve)
    },
  },
  {
    path: '/nationalPolicy',//国家政策法规
    name: 'nationalPolicy',
    component: (resolve) => {
      return require(['../views/qualityJiaodi/nationalPolicy/nationalPolicy'], resolve)
    },
  },
  //质量工匠之星
  {
    path: '/craftsmanStar',//质量工匠之星
    name: 'CraftsmanStar',
    redirect: '/craftsmanStar/navs',
    component: (resolve) => {
      return require(['../views/craftsmanStar/Index'], resolve)
    },
    children: [
      {
        path: '/craftsmanStar/navs',
        name: 'Navs',
        component: () => import("#/views/qualityManagement/craftsmanStar/CraftsmanStar"),
        meta: {
          name: '工匠之星首页'
        },
      },
      {
        path: '/craftsmanStar/work/observations',//质量工匠之星-工作-行为观察
        name: 'Observations',
        component: (resolve) => {
          return require(['../views/craftsmanStar/work/observations/Observations'], resolve)
        },
        meta: {
          name: '行为观察'
        },
      },
      {
        path: '/craftsmanStar/work/issueReport',//质量工匠之星-工作-问题上报
        name: 'IssueReport',
        component: (resolve) => {
          return require(['../views/craftsmanStar/work/issueReport/IssueReport'], resolve)
        },
        meta: {
          name: '问题上报'
        },
      },
      {
        path: '/craftsmanStar/work/issueReportOrder',//质量工匠之星-工作-问题上报整改单
        name: 'IssueReportOrder',
        component: (resolve) => {
          return require(['../views/craftsmanStar/work/issueReport/IssueReportOrder'], resolve)
        },
        meta: {
          name: '问题上报整改单'
        },
      },
      {
        path: '/craftsmanStar/backlog/submitted',//质量工匠之星-待办-我提交的
        name: 'Submitted',
        component: (resolve) => {
          return require(['../views/craftsmanStar/backlog/submitted/Submitted'], resolve)
        },
        meta: {
          name: '我提交的',
          keepAlive: false
        },
      },
      {
        path: '/craftsmanStar/backlog/submitted/detail',//质量工匠之星-待办-我提交的
        name: 'SubmittedDetail',
        component: (resolve) => {
          return require(['../views/craftsmanStar/backlog/submitted/SubmittedDetail'], resolve)
        },
        meta: {
          name: '我提交的详情'
        },
      },
      {
        path: '/craftsmanStar/backlog/approve',//质量工匠之星-待办-审批工作
        name: 'Approve',
        component: (resolve) => {
          return require(['../views/craftsmanStar/backlog/submitted/Submitted'], resolve)
        },
        meta: {
          name: '审批工作',
          keepAlive: false
        },
      },
      {
        path: '/craftsmanStar/backlog/approveDetail',//质量工匠之星-待办-审批工作详情
        name: 'ApproveDetail',
        component: (resolve) => {
          return require(['../views/craftsmanStar/backlog/submitted/SubmittedDetail'], resolve)
        },
        meta: {
          name: '审批工作详情'
        },
      },
      {
        path: '/craftsmanStar/ledger/issueReportLedger',//质量工匠之星-台账-问题上报
        name: 'IssueReportLedger',
        component: (resolve) => {
          return require(['../views/craftsmanStar/ledger/issueReportLedger/IssueReportLedger'], resolve)
        },
        meta: {
          name: '问题上报台账'
        },
      },
      {
        path: '/craftsmanStar/ledger/observationsLedger',//质量工匠之星-台账-行为观察
        name: 'ObservationsLedger',
        component: (resolve) => {
          return require(['../views/craftsmanStar/ledger/observationsLedger/ObservationsLedger'], resolve)
        },
        meta: {
          name: '行为观察台账'
        },
      },
      {
        path: '/craftsmanStar/ledger/issueReportLedgerDetail',//质量工匠之星-台账-问题上报详情
        name: 'IssueReportLedgerDetail',
        component: (resolve) => {
          return require(['../views/craftsmanStar/ledger/issueReportLedger/IssueReportLedgerDetail'], resolve)
        },
        meta: {
          name: '问题上报详情'
        },
      },
      {
        path: '/craftsmanStar/ledger/observationLedgerDetail',//质量工匠之星-台账-行为观察详情
        name: 'ObservationLedgerDetail',
        component: (resolve) => {
          return require(['../views/craftsmanStar/ledger/observationsLedger/ObservationLedgerDetail'], resolve)
        },
        meta: {
          name: '行为观察详情'
        },
      },
      {
        path: '/craftsmanStar/analyze/dataAnalyze',//质量工匠之星-台账-行为观察
        name: 'DataAnalyze',
        component: (resolve) => {
          return require(['../views/craftsmanStar/analyze/dataAnalyze/DataAnalyze'], resolve)
        },
        meta: {
          name: '数据分析'
        },
      },
      {
        path: '/craftsmanStar/analyze/ranking',//质量工匠之星-台账-积分排行榜
        name: 'Ranking',
        component: (resolve) => {
          return require(['../views/craftsmanStar/analyze/ranking/Ranking'], resolve)
        },
        meta: {
          name: '积分排行榜'
        },
      },
      {
        path: '/craftsmanStar/businesses/integration',//质量工匠之星-我的积分
        name: 'Integration',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/Integration'], resolve)
        },
        meta: {
          name: '我的积分'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationRules',//质量工匠之星-积分明细
        name: 'IntegrationRules',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationRules'], resolve)
        },
        meta: {
          name: '积分明细'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationDetail',//质量工匠之星-积分明细
        name: 'IntegrationDetail',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationDetail'], resolve)
        },
        meta: {
          name: '积分明细'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationShop',//质量工匠之星-我的积分-积分商城
        name: 'IntegrationShop',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationShop'], resolve)
        },
        meta: {
          name: '积分商城'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationShopAddress',//质量工匠之星-我的积分-积分商城
        name: 'IntegrationShopAddress',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationShopAddress'], resolve)
        },
        meta: {
          name: '积分商城地址'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationExchangeMessage',//质量工匠之星-积分明细
        name: 'IntegrationExchangeMessage',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationExchangeMessage'], resolve)
        },
        meta: {
          name: '积分明细'
        }
      },
      {
        path: '/craftsmanStar/businesses/integrationCode',//质量工匠之星-我的积分-积分商城-兑换码
        name: 'IntegrationCode',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/integration/IntegrationCode'], resolve)
        },
        meta: {
          name: '兑换码'
        }
      },
      {
        path: '/craftsmanStar/businesses/exchange',//质量工匠之星-积分兑换
        name: 'Exchange',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/exchange/Exchange'], resolve)
        },
        meta: {
          name: '积分兑换',
          keepAlive: true,
        }
      },
      {
        path: '/craftsmanStar/businesses/exchangeSao',//质量工匠之星-积分兑换-扫一扫
        name: 'ExchangeSao',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/exchange/ExchangeSao'], resolve)
        },
        meta: {
          name: '扫一扫',
        }
      },
      {
        path: '/craftsmanStar/businesses/exchangeRecords',//质量工匠之星-积分兑换记录
        name: 'ExchangeRecords',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/exchange/ExchangeRecords'], resolve)
        },
        meta: {
          name: '积分兑换记录'
        }
      },
      {
        path: '/craftsmanStar/businesses/exchangeResult',//质量工匠之星-积分兑换结果
        name: 'ExchangeResult',
        component: (resolve) => {
          return require(['../views/craftsmanStar/businesses/exchange/ExchangeResult'], resolve)
        },
        meta: {
          name: '积分兑换记录'
        }
      },

    ]
  },
  {
    path: '/mainPage',//测试
    name: 'mainPage',
    component: (resolve) => {
      return require(['../views/mainPage/mainPage.vue'], resolve)
    },
  },
  {
    path: '/listTemplate',//列表加载模板
    name: 'listTemplate',
    component: (resolve) => {
      return require(['../views/QualityModule/listTemplate.vue'], resolve)
    },
  },
  {
    path: '/demo',
    name: 'demo',
    component: (resolve) => {
      return require(['../views/demo/demo.vue'], resolve)
    },
  },
  {
    path: '/taskParameter',//任务台账首页
    name: 'taskParameter',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/task/taskParameter.vue'], resolve)
    },
  },
  {
    path: '/areaList',//任务台账平面图列表
    name: 'areaList',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/task/areaList.vue'], resolve)
    },
  },
  {
    path: '/recordDetial',//任务台账平面图列表检查记录
    name: 'recordDetial',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/task/recordDetial.vue'], resolve)
    },
  },
  {
    path: '/Detail',//任务台账平面图列表检查记录详情-无隐患
    name: 'Detail',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/task/Detail.vue'], resolve)
    },
  },
  {
    path: '/Detaildf',//任务台账平面图列表检查记录详情-待'
    name: 'Detaildf',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/task/Detaildf.vue'], resolve)
    },
  },
  {
    path: '/checkParameter',//检查台账首页
    name: 'checkParameter',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/check/checkParameter.vue'], resolve)
    },
  },
  {
    path: '/checkareaList',//检查台账平面图列表
    name: 'checkareaList',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/check/checkareaList.vue'], resolve)
    },
  },
  {
    path: '/checkDetail',//检查台账平面图列表检查记录详情-无隐患
    name: 'checkDetail',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/check/checkDetail.vue'], resolve)
    },
  },
  {
    path: '/checkDetaildf',//检查台账平面图列表检查记录详情-待复查
    name: 'checkDetaildf',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/check/checkDetaildf.vue'], resolve)
    },
  },
  {
    path: '/questionParameter',//问题台账首页
    name: 'questionParameter',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/question/questionParameter.vue'], resolve)
    },
  },
  {
    path: '/questionareaList',//问题台账平面图列表
    name: 'questionareaList',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/question/questionareaList.vue'], resolve)
    },
  },
  {
    path: '/questionDetail',//问题台账平面图列表检查记录详情-无隐患
    name: 'questionDetail',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/question/questionDetail.vue'], resolve)
    },
  },
  {
    path: '/questionDetaildf',//问题台账平面图列表检查记录详情-待复查
    name: 'questionDetaildf',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/question/questionDetaildf.vue'], resolve)
    },
  },
  {
    path: '/warringParameter',//问题台账首页
    name: 'warringParameter',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/warring/warringParameter.vue'], resolve)
    },
  },
  {
    path: '/warringareaList',//问题台账平面图列表
    name: 'warringareaList',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/warring/warringareaList.vue'], resolve)
    },
  },
  {
    path: '/warringDetail',//问题台账平面图列表检查记录详情-无隐患
    name: 'warringDetail',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/warring/warringDetail.vue'], resolve)
    },
  },
  {
    path: '/warringDetaildf',//问题台账平面图列表检查记录详情-待复查
    name: 'warringDetaildf',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/warring/warringDetaildf.vue'], resolve)
    },
  },
  {
    path: '/accountareaList',//整改通知单台账
    name: 'accountareaList',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/account/accountareaList.vue'], resolve)
    },
  },
  {
    path: '/approvalAccount',//审批台账
    name: 'approvalAccount',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/account/approvalAccount.vue'], resolve)
    },
  },
  {
    path: '/accountDetail',//问题台账平面图列表检查记录详情-无隐患
    name: 'accountDetail',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/account/accountDetail.vue'], resolve)
    },
  },
  {
    path: '/accountDetaildf',//问题台账平面图列表检查记录详情-待复查
    name: 'accountDetaildf',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/account/accountDetaildf.vue'], resolve)
    },
  },
  {
    path: '/accountTips',//问题台账整改单
    name: 'accountTips',
    component: (resolve) => {
      return require(['../views/QualityModule/parameter/account/accountTips.vue'], resolve)
    },
  },
  {
    path: '/check',//检查任务-任务模式
    name: 'check',
    component: (resolve) => {
      return require(['../views/work/inspectionTask/check'], resolve)
    },
  },
  {
    path: '/randomCheck',//检查任务-随机模式
    name: 'randomCheck',
    component: (resolve) => {
      return require(['../views/work/inspectionTask/randomCheck'], resolve)
    },
  },
  //待办
  {
    path: '/copyToInfo',//抄送信息
    name: 'copyToInfo',
    component: (resolve) => {
      return require(['../views/work/myToDo/copyToInfor'], resolve)
    },
  },
  {
    path: '/punchLists',//整改单列表
    name: 'punchLists',
    component: (resolve) => {
      return require(['../views/work/myToDo/punchLists'], resolve)
    },
  },
  {
    path: '/punchListsDetail',//整改单详情
    name: 'punchListsDetail',
    component: (resolve) => {
      return require(['../views/work/myToDo/punchListsDetail'], resolve)
    },
  },
  {
    path: '/approveList',//审批工作
    name: 'approveList',
    component: (resolve) => {
      return require(['../views/work/myToDo/approveList'], resolve)
    },
  },
  {
    path: '/reviewList',//复查工作
    name: 'reviewList',
    component: (resolve) => {
      return require(['../views/work/myToDo/reviewList'], resolve)
    },
  },
  {
    path: '/reviewListDetail',//复查详情
    name: 'reviewListDetail',
    component: (resolve) => {
      return require(['../views/work/myToDo/reviewListDetail'], resolve)
    },
  },
  {
    path: '/rectificationWork',//整改工作
    name: 'rectificationWork',
    component: (resolve) => {
      return require(['../views/work/myToDo/rectificationWork'], resolve)
    },
  },
  {
    path: '/rectificationWorkDetail',//整改工作详情
    name: 'rectificationWorkDetail',
    component: (resolve) => {
      return require(['../views/work/myToDo/rectificationWorkDetail'], resolve)
    },
  },
  {
    path: '/checkList',//检查工作
    name: 'checkList',
    component: (resolve) => {
      return require(['../views/work/myToDo/checkList'], resolve)
    },
  },
  {
    path: '/checkListDetail',//检查工作详情
    name: 'checkListDetail',
    component: (resolve) => {
      return require(['../views/work/myToDo/checkListDetail'], resolve)
    },
  },
  {
    path: '/goCheck',//质量检查提交
    name: 'goCheck',
    component: (resolve) => {
      return require(['../views/work/myToDo/checkTemplate/goCheck'], resolve)
    },
  },
  {
    path: '/scuesscheckList',//质量检查提交成功
    name: 'scuesscheckList',
    component: (resolve) => {
      return require(['../views/work/myToDo/checkTemplate/scuesscheckList'], resolve)
    },
  },
  {
    path: '/taskMode',//检查任务
    name: 'taskMode',
    component: (resolve) => {
      return require(['../views/work/inspectionTask/taskMode'], resolve)
    },
  },
  //待办整改单
  {
    path: '/toDoTips',//待办整改单
    name: 'toDoTips',
    component: (resolve) => {
      return require(['../views/willtoDo/accountTips/List.vue'], resolve)
    },
  },
  {
    path: '/toDoTipsDetail',//待办整改单详情
    name: 'toDoTipsDetail',
    component: (resolve) => {
      return require(['../views/willtoDo/accountTips/detaildf.vue'], resolve)
    },
  },
  {
    path: '/toTips',//待办生成整改单
    name: 'toTips',
    component: (resolve) => {
      return require(['../views/willtoDo/accountTips/tips.vue'], resolve)
    },
  },
  //待办复查
  {
    path: '/reviewList',//待办复查
    name: 'reviewList',
    component: (resolve) => {
      return require(['../views/willtoDo/reviewWork/List.vue'], resolve)
    },
  },
  {
    path: '/reviewDetail',//待办复查详情
    name: 'reviewDetail',
    component: (resolve) => {
      return require(['../views/willtoDo/reviewWork/detaildf.vue'], resolve)
    },
  },
  //待办审批工作
  {
    path: '/myapproval',//待办审批
    name: 'myapproval',
    component: (resolve) => {
      return require(['../views/willtoDo/approval/List.vue'], resolve)
    },
  },
  {
    path: '/myapprovalDetail',//待办审批
    name: 'myapprovalDetail',
    component: (resolve) => {
      return require(['../views/willtoDo/approval/detaildf.vue'], resolve)
    },
  },
  //待办抄送工作
  {
    path: '/mycopyTo',//待办抄送
    name: 'mycopyTo',
    component: (resolve) => {
      return require(['../views/willtoDo/copyTo/List.vue'], resolve)
    },
  },
  {
    path: '/mycopyToDetail',//待办抄送
    name: 'mycopyToDetail',
    component: (resolve) => {
      return require(['../views/willtoDo/copyTo/detaildf.vue'], resolve)
    },
  },
  //待办检查工作
  {
    path: '/mycheck',//待办检查
    name: 'mycheck',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/List.vue'], resolve)
    },
  },
  {
    path: '/mycheckContent',//待办检查任务内容
    name: 'mycheckContent',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/recordDetial.vue'], resolve)
    },
  },
  {
    path: '/mycheckConDetail',//待办检查任务内容详情
    name: 'mycheckConDetail',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/detaildf.vue'], resolve)
    },
  },
  {
    path: '/rectification_Work',//整改工作
    name: 'rectification_Work',
    component: (resolve) => {
      return require(['../views/willtoDo/Rectification/rectification_Work'], resolve)
    },
  },
  {
    path: '/inspect_Details',//整改详情
    name: 'inspect_Details',
    component: (resolve) => {
      return require(['../views/willtoDo/Rectification/inspect_Details'], resolve)
    },
  },
  {
    path: '/complete',//任务本地保存
    name: 'complete',
    component: (resolve) => {
      return require(['../views/willtoDo/Rectification/complete'], resolve)
    },
  },
  {
    path: '/task',//任务本地保存
    name: 'task',
    component: (resolve) => {
      return require(['../views/work/preservation/task'], resolve)
    },
  },
  {
    path: '/inspect',//任务本地保存
    name: 'inspect',
    component: (resolve) => {
      return require(['../views/work/randomCheck/inspect'], resolve)
    },
  },
  {
    path: '/startChecking',//开始检查
    name: 'startChecking',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/startChecking'], resolve)
    },
  }, {
    path: '/startInvestigation',//开始排查
    name: 'startInvestigation',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/startInvestigation'], resolve)
    },
  },

  {
    path: '/signature',//手写签名
    name: 'signature',
    component: (resolve) => {
      return require(['../components/signature/Signature'], resolve)
    },
  },
  {
    path: '/ProblemTemplate',//问题模板
    name: 'ProblemTemplate',
    component: (resolve) => {
      return require(['../views/QualityModule/ProblemTemplate'], resolve)
    },
  },
  {
    path: '/problemDetails',//问题详情
    name: 'problemDetails',
    component: (resolve) => {
      return require(['../views/willtoDo/checkWork/problemDetails'], resolve)
    },
  },
  {
    path: '/pointPosition',//扫码跳转——任务
    name: 'pointPosition',
    component: (resolve) => {
      return require(['../views/QualityModule/sweepcode/pointPosition'], resolve)
    },
  }, {
    path: '/historicalRecord',//扫码跳转——任务（历史记录）
    name: 'historicalRecord',
    component: (resolve) => {
      return require(['../views/QualityModule/sweepcode/historicalRecord'], resolve)
    },
  }, {
    path: '/tasks',//扫码跳转——点位
    name: 'tasks',
    component: (resolve) => {
      return require(['../views/QualityModule/sweepcode/task'], resolve)
    },
  }, {
    path: '/historyTask',//扫码跳转——点位（历史记录）
    name: 'historyTask',
    component: (resolve) => {
      return require(['../views/QualityModule/sweepcode/historyTask'], resolve)
    },
  },
  {
    path: '/qualityManagement',
    name: 'QualityManagement',
    component: () => import("#/views/qualityManagement/Index"),
    meta: {
      name: "质量管理模块入口页"
    },
    children: [
      {
        path: '/qualityManagement/teamWorkCheck',
        name: 'TeamWorkCheck',
        component: () => import("#/views/qualityManagement/teamWorkCheck/TeamWorkCheck"),
        meta: {
          name: '协同检查首页'
        },
      },
      {
        path: '/qualityManagement/realMeasure',
        name: 'RealMeasure',
        component: () => import("#/views/qualityManagement/realMeasure/RealMeasure"),
        meta: {
          name: '实测实量首页'
        },
      },

      {
        path: '/qualityManagement/warningMessage',
        name: 'WarningMessage',
        component: () => import("#/views/qualityManagement/warningMessage/WarningMessage"),
        meta: {
          name: '预警信息'
        },
      },
      {
        path: '/qualityManagement/taskToDo',
        name: 'TaskToDo',
        component: () => import("#/views/qualityManagement/taskToDo/TaskToDo"),
        meta: {
          name: '待办任务'
        },
      },
      {
        path: '/qualityManagement/copyMe',
        name: 'CopyMe',
        component: () => import("#/views/qualityManagement/copyMe/CopyMe"),
        meta: {
          name: '抄送我的'
        },
      },
    ]
  },
  {
    path: '/realMeasureModule',
    name: 'realMeasureModule',
    component: () => import("#/views/realMeasureModule/Index"),
    meta: {
      name: "实测实量入口页面"
    },
    children: [
      {
        path: '/realMeasureModule/taskMode',
        name: 'TaskMode',
        component: () => import("#/views/realMeasureModule/taskMode/Index"),
        meta: {
          name: '任务模式',
        },
        children: [
          {
            path: '/realMeasureModule/taskMode/taskModeRealMeasure',
            name: 'TaskModeRealMeasure',
            component: () => import("#/views/realMeasureModule/taskMode/taskModeRealMeasure/TaskModeRealMeasure"),
            meta: {
              name: '实测实量',
              keepAlive: true
            },
          },
          {
            path: '/realMeasureModule/taskMode/taskModeAreaList',
            name: 'TaskModeAreaList',
            component: () => import("#/views/realMeasureModule/taskMode/taskModeAreaList/TaskModeAreaList.vue"),
            meta: {
              name: '实测实量区域任务列表',
              keepAlive: true
            },
          },
          {
            path: '/realMeasureModule/taskMode/startMeasure',
            name: 'StartMeasure',
            component: () => import("#/views/realMeasureModule/taskMode/startMeasure/StartMeasure.vue"),
            meta: {
              name: '进行测量',
              keepAlive: true
            },
          },
          {
            path: '/realMeasureModule/taskMode/startEdit',
            name: 'StartEdit',
            component: () => import("#/views/realMeasureModule/taskMode/startEdit/StartEdit.vue"),
            meta: {
              name: '进行编辑',
            },
          },
          {
            path: '/realMeasureModule/taskMode/taskModeSuccess',
            name: 'TaskModeSuccess',
            component: () => import("#/views/realMeasureModule/taskMode/taskModeSuccess/TaskModeSuccess.vue"),
            meta: {
              name: '提交成功',
              keepAlive: true
            },
          },
          {
            path: '/realMeasureModule/taskMode/createBill',
            name: 'CreateBill',
            component: () => import("#/views/realMeasureModule/taskMode/createBill/CreateBill.vue"),
            meta: {
              name: '生成整改单',
              keepAlive: false
            },
          },
          {
            path: '/realMeasureModule/taskMode/taskModeDetail',
            name: 'TaskModeDetail',
            component: () => import("#/views/realMeasureModule/taskMode/taskModeDetail/TaskModeDetail.vue"),
            meta: {
              name: '详情',
              keepAlive: false
            },
          },
          {
            path: '/realMeasureModule/taskMode/historyRecords',
            name: 'HistoryRecords',
            component: () => import("#/views/realMeasureModule/taskMode/historyRecords/HistoryRecords.vue"),
            meta: {
              name: '历史纪录',
              keepAlive: false
            },
          },
        ]
      },
      {
        path: '/realMeasureModule/randomMeasureMode',
        name: 'RandomMeasureMode',
        component: () => import("#/views/realMeasureModule/randomMeasureMode/Index"),
        meta: {
          name: '随机测量模式'
        },
        children: [
          {
            path: '/realMeasureModule/randomMeasureMode/randomSelectProject',
            name: 'RandomSelectProject',
            component: () => import("../views/realMeasureModule/randomMeasureMode/randomSelectProject/RandomSelectProject.vue"),
            meta: {
              name: '选择项目',
              keepAlive: false
            },
          },
          {
            path: '/realMeasureModule/randomMeasureMode/randomMarkPoint',
            name: 'RandomMarkPoint',
            component: () => import("../views/realMeasureModule/randomMeasureMode/randomMarkPoint/RandomMarkPoint.vue"),
            meta: {
              name: '平面图标点'
            },
          },
          {
            path: '/realMeasureModule/randomMeasureMode/randomSuccess',
            name: 'RandomSuccess',
            component: () => import("#/views/realMeasureModule/randomMeasureMode/randomSuccess/RandomSuccess.vue"),
            meta: {
              name: '提交成功',
              keepAlive: false
            },
          },
          {
            path: '/realMeasureModule/randomMeasureMode/randomBill',
            name: 'RandomBill',
            component: () => import("#/views/realMeasureModule/randomMeasureMode/randomBill/RandomBill.vue"),
            meta: {
              name: '生成整改单',
            },
          },
        ]
      },
      {
        path: '/realMeasureModule/realMeasureLedger',
        name: 'RealMeasureLedger',
        component: () => import("#/views/realMeasureModule/realMeasureLedger/Index"),
        meta: {
          name: '实测实量台账'
        },
        children: [
          {
            path: '/realMeasureModule/realMeasureLedger/dutyAreaPlan',
            name: 'DutyAreaPlan',
            component: () => import("#/views/realMeasureModule/realMeasureLedger/dutyAreaPlan/DutyAreaPlan"),
            meta: {
              name: '责任区域平面图'
            },
          },
          {
            path: '/realMeasureModule/realMeasureLedger/measureHistory',
            name: 'MeasureHistory',
            component: () => import("#/views/realMeasureModule/realMeasureLedger/dutyAreaPlan/MeasureHistorys"),
            meta: {
              name: '历史记录'
            },
          }
        ]
      },
      {
        path: '/realMeasureModule/randomMeasureLedger',
        name: 'RandomMeasureLedger',
        component: () => import("#/views/realMeasureModule/randomMeasureLedger/Index"),
        meta: {
          name: '随机测量台账'
        },
        children: [
          {
            path: '/realMeasureModule/randomMeasureLedger/randomMeasureLedgerList',
            name: 'RandomMeasureLedgerList',
            component: () => import("#/views/realMeasureModule/randomMeasureLedger/randomMeasureLedgerList/RandomMeasureLedgerList"),
            meta: {
              name: '台账列表'
            },
          },
          {
            path: '/realMeasureModule/randomMeasureLedger/randomMeasureDetail',
            name: 'RandomMeasureDetail',
            component: () => import("#/views/realMeasureModule/randomMeasureLedger/randomMeasureLedgerList/RandomMeasureDetail"),
            meta: {
              name: '详情'
            },
          },
          {
            path: '/realMeasureModule/randomMeasureLedger/generateRectificationOrder',
            name: 'GenerateRectificationOrder',
            component: () => import("#/views/realMeasureModule/randomMeasureLedger/randomMeasureLedgerList/GenerateRectificationOrder"),
            meta: {
              name: '生成整改单'
            },
          }
        ]
      },
    ]
  }

]


